// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import 'babel-polyfill'
import Vue from 'vue'
import App from './App'
import router from './router'
// import VueResource from 'vue-resource'
import ElementUI from 'element-ui'
import axios from 'axios'
import 'element-ui/lib/theme-default/index.css'
import './styles/index.css'
import './styles/reset.css'
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
import 'video.js/dist/video-js.css'
import 'vue-video-player/src/custom-theme.css'
// import 'vue-social-share/dist/client.css'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import VideoPlayer from 'vue-video-player'
var SocialSharing = require('vue-social-sharing')
Vue.use(SocialSharing)
// import Share from 'vue-social-share'
Vue.use(VideoPlayer)
Vue.use(VueAwesomeSwiper)
// Vue.use(Share)

Vue.use(MintUI)
Vue.use(ElementUI)
Vue.config.productionTip = false
axios.defaults.withCredentials = true
/* eslint-disable no-new */
// router.push('/index/system/list')
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
})
